#include "RioMMTgif.h"
#include "RioError.h"
#include <ctype.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>
#include <errno.h>
#include <iostream>
Go to the source code of this file.
Functions | |
void | tgif_execute_callback (void *param, TQueue &args) |
void | tgif_create_box_object_callback (void *param, TQueue &args) |
void | tgif_create_text_object_callback (void *param, TQueue &args) |
void | tgif_set_object_color_callback (void *param, TQueue &args) |
void | tgif_rotate_object_callback (void *param, TQueue &args) |
void | tgif_move_object_callback (void *param, TQueue &args) |
void | tgif_resize_object_callback (void *param, TQueue &args) |
void | tgif_remove_object_callback (void *param, TQueue &args) |
void | tgif_remove_all_objects_callback (void *param, TQueue &args) |
Variables | |
RioMMCommand | tgif_commands [] |
void tgif_create_box_object_callback | ( | void * | param, | |
TQueue & | args | |||
) |
Definition at line 922 of file RioMMTgif.cpp.
00923 { 00924 int arg[ 7 ]; 00925 TString * arg8; 00926 00927 arg[ 0 ] = (int) (long long int) args.Remove( ); 00928 arg[ 1 ] = (int) (long long int) args.Remove( ); 00929 arg[ 2 ] = (int) (long long int) args.Remove( ); 00930 arg[ 3 ] = (int) (long long int) args.Remove( ); 00931 arg[ 4 ] = (int) (long long int) args.Remove( ); 00932 arg[ 5 ] = (int) (long long int) args.Remove( ); 00933 arg[ 6 ] = (int) (long long int) args.Remove( ); 00934 arg8 = (TString *)args.Remove( ); 00935 00936 ((CRioMMTgif *)param)->CreateBoxObjectCallback( arg[ 0 ], arg[ 1 ], 00937 arg[ 2 ], arg[ 3 ], arg[ 4 ], arg[ 5 ], 00938 arg[ 6 ], (const char *)*arg8 ); 00939 00940 delete arg8; 00941 }
void tgif_create_text_object_callback | ( | void * | param, | |
TQueue & | args | |||
) |
Definition at line 943 of file RioMMTgif.cpp.
00944 { 00945 int arg[ 4 ]; 00946 TString * arg5, * arg6; 00947 00948 arg[ 0 ] = (int) (long long int) args.Remove( ); 00949 arg[ 1 ] = (int) (long long int) args.Remove( ); 00950 arg[ 2 ] = (int) (long long int) args.Remove( ); 00951 arg[ 3 ] = (int) (long long int) args.Remove( ); 00952 arg5 = (TString *)args.Remove( ); 00953 arg6 = (TString *)args.Remove( ); 00954 00955 ((CRioMMTgif *)param)->CreateTextObjectCallback( arg[ 0 ], arg[ 1 ], 00956 arg[ 2 ], arg[ 3 ], (const char *)*arg5, (const char *)*arg6 ); 00957 00958 delete arg5; 00959 delete arg6; 00960 }
void tgif_execute_callback | ( | void * | param, | |
TQueue & | args | |||
) |
Definition at line 911 of file RioMMTgif.cpp.
00912 { 00913 TString * arg1; 00914 00915 arg1 = (TString *)args.Remove( ); 00916 00917 ((CRioMMTgif *)param)->ExecuteCallback( (const char *)*arg1 ); 00918 00919 delete arg1; 00920 }
void tgif_move_object_callback | ( | void * | param, | |
TQueue & | args | |||
) |
Definition at line 986 of file RioMMTgif.cpp.
00987 { 00988 int arg[ 3 ]; 00989 00990 arg[ 0 ] = (int) (long long int) args.Remove( ); 00991 arg[ 1 ] = (int) (long long int) args.Remove( ); 00992 arg[ 2 ] = (int) (long long int) args.Remove( ); 00993 00994 ((CRioMMTgif *)param)->MoveObjectCallback( arg[ 0 ], arg[ 1 ], 00995 arg[ 2 ] ); 00996 }
void tgif_remove_all_objects_callback | ( | void * | param, | |
TQueue & | args | |||
) |
Definition at line 1019 of file RioMMTgif.cpp.
01020 { 01021 ((CRioMMTgif *)param)->RemoveAllObjectsCallback( ); 01022 }
void tgif_remove_object_callback | ( | void * | param, | |
TQueue & | args | |||
) |
Definition at line 1010 of file RioMMTgif.cpp.
01011 { 01012 int arg1; 01013 01014 arg1 = (int) (long long int) args.Remove( ); 01015 01016 ((CRioMMTgif *)param)->RemoveObjectCallback( arg1 ); 01017 }
void tgif_resize_object_callback | ( | void * | param, | |
TQueue & | args | |||
) |
Definition at line 998 of file RioMMTgif.cpp.
00999 { 01000 int arg[ 3 ]; 01001 01002 arg[ 0 ] = (int) (long long int) args.Remove( ); 01003 arg[ 1 ] = (int) (long long int) args.Remove( ); 01004 arg[ 2 ] = (int) (long long int) args.Remove( ); 01005 01006 ((CRioMMTgif *)param)->ResizeObjectCallback( arg[ 0 ], arg[ 1 ], 01007 arg[ 2 ] ); 01008 }
void tgif_rotate_object_callback | ( | void * | param, | |
TQueue & | args | |||
) |
Definition at line 976 of file RioMMTgif.cpp.
00977 { 00978 int arg[ 2 ]; 00979 00980 arg[ 0 ] = (int) (long long int) args.Remove( ); 00981 arg[ 1 ] = (int) (long long int) args.Remove( ); 00982 00983 ((CRioMMTgif *)param)->RotateObjectCallback( arg[ 0 ], arg[ 1 ] ); 00984 }
void tgif_set_object_color_callback | ( | void * | param, | |
TQueue & | args | |||
) |
Definition at line 962 of file RioMMTgif.cpp.
00963 { 00964 int arg1; 00965 TString * arg2; 00966 00967 arg1 = (int) (long long int) args.Remove( ); 00968 arg2 = (TString *)args.Remove( ); 00969 00970 ((CRioMMTgif *)param)->SetObjectColorCallback( arg1, 00971 (const char *)*arg2 ); 00972 00973 delete arg2; 00974 }
Definition at line 35 of file RioMMTgif.cpp.