Program Listing for File HostFunctionCallback.h
↰ Return to documentation for file (include/flamegpu/runtime/HostFunctionCallback.h
)
#ifndef INCLUDE_FLAMEGPU_RUNTIME_HOSTFUNCTIONCALLBACK_H_
#define INCLUDE_FLAMEGPU_RUNTIME_HOSTFUNCTIONCALLBACK_H_
#include "flamegpu/runtime/HostAPI_macros.h"
namespace flamegpu {
class HostFunctionCallback {
public:
virtual void run(HostAPI*) = 0;
virtual ~HostFunctionCallback() {}
};
class HostConditionCallback {
public:
virtual CONDITION_RESULT run(HostAPI*) = 0;
virtual ~HostConditionCallback() {}
};
} // namespace flamegpu
#endif // INCLUDE_FLAMEGPU_RUNTIME_HOSTFUNCTIONCALLBACK_H_